package com.cqhfan.common.constants;

/**
 * @author 眭传洪
 * @create 2024/1/15 0:07
 */
public interface RedisConstants {

    String REFRESH_TOKEN_TTL_PREFIX = "refresh_token_ttl";

    String REFRESH_TOKEN_KEY_PREFIX = "refresh_token_";

    String DISTRIBUTED_ID_KEY_PREFIX = "incr:";

    String CAPTCHA_UUID_KEY = "captcha_";

    Long CAPTCHA_TTL = 1L;

    String NULL_VALUE = "";

    Long NULL_VALUE_TTL = 5L;

    Long CACHE_TTL = 15L;

    String USER_INFO_CACHE_KEY_PREFIX = "cache:user:id:";

    String GROUP_MEMBERS_KEY_PREFIX = "chat:group:groupId:";

}
